package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员权益对应福利
 * </p>
 *
 * @author author
 * @since 2024-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_mall_member_equity_target")
@ApiModel(value="ScMallMemberEquityTarget对象", description="商城会员权益对应福利")
public class MallMemberEquityTarget extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商城会员权益Id")
    private Long mallMemberEquityId;

    @ApiModelProperty(value = "目标Id")
    private Long targetId;

    @ApiModelProperty(value = "权益物品数量 商品时为库存")
    private Integer num;

    @ApiModelProperty(value = "权益物品数量 商品时为库存时可优先购剩余数量")
    private Integer can_use_num;
}
